package eiisan.dao.repository.user;

import eiisan.dao.domain.user.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserRepository extends JpaRepository<User, Long> {
    /** findByName */
    User findByName(String name);

    /** findByNames */
    List<User> findByNameIn(List<String> names);
}